<!DOCTYPE html>
<html>

<head>
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <meta name="format-detection" content="telephone=no">
  <meta charset="utf-8">
  <title></title>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <script type="text/javascript"> 
    if (/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))) {
      if (window.location.href.indexOf("?agent=m") < 0) {
        var mobileUrl = "{:U('mobile/index')}"
        try {
          if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
            window.location.href = mobileUrl;
          } else if (/iPad/i.test(navigator.userAgent)) {
          } else {
            window.location.href = mobileUrl;
          }
        } catch (e) { }
      }
    }
  </script>
  <link rel="stylesheet" href="__PUBLIC__/mobile/mobile.css">
  <link rel="stylesheet" href="__PUBLIC__/mobile/index.css">
</head>

<body>
  <div class="head" style="background: #fff;">
    <a href="http://m.pifuketang.com/" style="height: 100%; width: auto;">
      <!-- <img src="http://www.pifuketang.com/images/logo.png" width="212px" height="65px"> -->
      <img src="__PUBLIC__/images/logo_baby.jpg" alt="小顽童湿疹膏" style="height: 100%;">
    </a>
  </div>
  <div class="navSn" id="nav">
    <ul class="nav">
      <?php $i=0; ?>
      <foreach name="columns" item="vo">
        <if condition="$vo[pid]==0 ">
          <?php if($i==4){?>
    </ul>
    <ul class="navSen">
      <li></li>
      <?php } $i++; ?>
      <li>
        <a href="{$vo['link']}" class="link {$top_cid == $vo['id'] ? 'active':''}">{$vo['title']} {$i}</a>
      </li>
      </if>
      </foreach>
    </ul>
  </div>